public class EvalMaterialOnly extends Eval {

    public EvalMaterialOnly() {
	super();
    }

    public int eval(Board board) {
        int eval = Eval.MEN * (BitUtils.countBits(board.white)
                          - BitUtils.countBits(board.black))
            + Eval.KINGS * (BitUtils.countBits(board.white & board.kings)
                       - BitUtils.countBits(board.black & board.kings));

        return eval;
    }
}
